using System.Collections.Generic;

namespace NGIS.Model
{
	public struct ModelUser
	{
		public string Name;

		public string Account;

		public ModelUserInstitution Institution;

		public List<ModelUserContact> Contacts;

		public ModelUser(string name, string account, ModelUserInstitution ins, List<ModelUserContact> contacts)
		{
			Name = name;
			Account = account;
			Institution = ins;
			Contacts = contacts;
		}

		public static bool operator ==(ModelUser userA, ModelUser userB)
		{
			if (userA.Name == userB.Name && userA.Name == userB.Name && userA.Name == userB.Name && userA.Name == userB.Name && userA.Name == userB.Name && userA.Name == userB.Name)
			{
				return true;
			}
			return false;
		}

		public static bool operator !=(ModelUser userA, ModelUser userB)
		{
			return !(userA != userB);
		}
	}
}
